package com.commerce.mapping;

import com.commerce.model.Classify;
import com.commerce.page.ClassifyPage;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.dao.DataAccessException;

@Mapper
public interface ClassifyMapping extends BeanMapping<Classify>{

    /**
     * 分页查询
     * @param classifyPage
     * @return
     * @throws DataAccessException
     */
    Page selectByPage(ClassifyPage classifyPage)throws DataAccessException;
}
